﻿using System.Collections.Generic;

namespace CID.Domain.Infrastructure
{
    public interface ITemplateType : IDescribedEntity
    {
        bool Enabled { get; set; }
        IEnumerable<ITemplate> Templates { get; }

        IActivationTemplate CreateActivationTemplate(string name, string description, byte[] content);
        IDeactivationTemplate CreateDeactivationTemplate(string name, string description, byte[] content);
        IDeploymentTemplate CreateDeploymentTemplate(string name, string description, byte[] content);
        void RemoveTemplate(ITemplate template);

        string TemplateContentEditorConverterType { get; set; }
        string TemplateContentEditorViewName { get; set; }
    }
}
